﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopNonReplyStatOnDay")]
    public class TopNonReplyStatOnDay : BaseObject
    {
        //begin
        public TopNonReplyStatOnDay()
        {}
        public TopNonReplyStatOnDay(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private DateTime _NonreplyDate;
        public DateTime NonreplyDate
        {
            get
            {
                return _NonreplyDate;
            }
            set
            {
                SetPropertyValue("NonreplyDate", ref _NonreplyDate, value);
            }
        }
        [Association("TopNonReplyStatOnDayNonreplyStatByIds", typeof(TopNonreplyStatById)), Aggregated]
        public XPCollection<TopNonreplyStatById> NonreplyStatByIds
        {
            get
            {
                return GetCollection<TopNonreplyStatById>("NonreplyStatByIds");
            }
        }
        //end
    }
}
